/*
 * ============================================================================
 * = COPYRIGHT
 *          PAX Computer Technology(Shenzhen) Co., Ltd. PROPRIETARY INFORMATION
 *   This software is supplied under the terms of a license agreement or nondisclosure
 *   agreement with PAX Computer Technology(Shenzhen) Co., Ltd. and may not be copied or
 *   disclosed except in accordance with the terms in that agreement.
 *     Copyright (C) 2021 PAX Computer Technology(Shenzhen) Co., Ltd. All rights reserved.
 * ============================================================================
 */

import 'auto_data_source_common.dart';
import 'package:pos_link/auto_pigeon/poslink_sdk_report.dart';
import 'package:pos_link/auto_data_source/auto_query.dart';
class ReportReqData {
  static List<Map> initSourceData() {
    return ReportReqData.hostReportData();
  }
  static List<Map> hostReportData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ReportCommand',
                kID: 'ReportCommand',
                kMenuID: 'ReportCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ReportCommand.HostReportRequest,
                kData: [
                  {
                    kData: ReportCommand.HostReportRequest,
                    kID: 'ReportCommand_HostReportRequest',
                  },
                  {
                    kData: ReportCommand.HistoryReportRequest,
                    kID: 'ReportCommand_HistoryReportRequest',
                  },
                  {
                    kData: ReportCommand.SafSummaryReportRequest,
                    kID: 'ReportCommand_SafSummaryReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalFailedReportRequest,
                    kID: 'ReportCommand_LocalFailedReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalDetailReportRequest,
                    kID: 'ReportCommand_LocalDetailReportRequest',
                  },
                  {
                    kData: ReportCommand.HostDetailReportRequest,
                    kID: 'ReportCommand_HostDetailReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalTotalReportRequest,
                    kID: 'ReportCommand_LocalTotalReportRequest',
                  },
                ],
              },
           ];
  }

  static ReportHostReportRequest formHostReportRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ReportHostReportRequest req = ReportHostReportRequest();
    req.classID = RequestListModelQuery.query('Report_Request_HostReportRequest-classID',queryList);
    return req;
  }

  static List<Map> historyReportData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ReportCommand',
                kID: 'ReportCommand',
                kMenuID: 'ReportCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ReportCommand.HostReportRequest,
                kData: [
                  {
                    kData: ReportCommand.HostReportRequest,
                    kID: 'ReportCommand_HostReportRequest',
                  },
                  {
                    kData: ReportCommand.HistoryReportRequest,
                    kID: 'ReportCommand_HistoryReportRequest',
                  },
                  {
                    kData: ReportCommand.SafSummaryReportRequest,
                    kID: 'ReportCommand_SafSummaryReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalFailedReportRequest,
                    kID: 'ReportCommand_LocalFailedReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalDetailReportRequest,
                    kID: 'ReportCommand_LocalDetailReportRequest',
                  },
                  {
                    kData: ReportCommand.HostDetailReportRequest,
                    kID: 'ReportCommand_HostDetailReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalTotalReportRequest,
                    kID: 'ReportCommand_LocalTotalReportRequest',
                  },
                ],
              },
           ];
  }

  static ReportHistoryReportRequest formHistoryReportRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ReportHistoryReportRequest req = ReportHistoryReportRequest();
    req.classID = RequestListModelQuery.query('Report_Request_HistoryReportRequest-classID',queryList);
    return req;
  }

  static List<Map> safSummaryReportData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ReportCommand',
                kID: 'ReportCommand',
                kMenuID: 'ReportCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ReportCommand.HostReportRequest,
                kData: [
                  {
                    kData: ReportCommand.HostReportRequest,
                    kID: 'ReportCommand_HostReportRequest',
                  },
                  {
                    kData: ReportCommand.HistoryReportRequest,
                    kID: 'ReportCommand_HistoryReportRequest',
                  },
                  {
                    kData: ReportCommand.SafSummaryReportRequest,
                    kID: 'ReportCommand_SafSummaryReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalFailedReportRequest,
                    kID: 'ReportCommand_LocalFailedReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalDetailReportRequest,
                    kID: 'ReportCommand_LocalDetailReportRequest',
                  },
                  {
                    kData: ReportCommand.HostDetailReportRequest,
                    kID: 'ReportCommand_HostDetailReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalTotalReportRequest,
                    kID: 'ReportCommand_LocalTotalReportRequest',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'safIndicator',
                kID: 'Report_Request_SafSummaryReportRequest-safIndicator',
                kMenuID: 'Report_Request_SafSummaryReportRequest-safIndicator_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ReportSafReportIndicator.NotSet,
                kData: [
                  {
                    kData: ReportSafReportIndicator.NotSet,
                    kID: 'Report_Request_SafSummaryReportRequest-safIndicator_NotSet',
                  },
                  {
                    kData: ReportSafReportIndicator.NewRecordReport,
                    kID: 'Report_Request_SafSummaryReportRequest-safIndicator_NewRecordReport',
                  },
                  {
                    kData: ReportSafReportIndicator.FailedRecordReport,
                    kID: 'Report_Request_SafSummaryReportRequest-safIndicator_FailedRecordReport',
                  },
                  {
                    kData: ReportSafReportIndicator.All,
                    kID: 'Report_Request_SafSummaryReportRequest-safIndicator_All',
                  },
                ],
              },
           ];
  }

  static ReportSafSummaryReportRequest formSafSummaryReportRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ReportSafSummaryReportRequest req = ReportSafSummaryReportRequest();
    req.safIndicator = RequestListModelQuery.query('Report_Request_SafSummaryReportRequest-safIndicator',queryList);
    return req;
  }

  static List<Map> localFailedReportData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ReportCommand',
                kID: 'ReportCommand',
                kMenuID: 'ReportCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ReportCommand.HostReportRequest,
                kData: [
                  {
                    kData: ReportCommand.HostReportRequest,
                    kID: 'ReportCommand_HostReportRequest',
                  },
                  {
                    kData: ReportCommand.HistoryReportRequest,
                    kID: 'ReportCommand_HistoryReportRequest',
                  },
                  {
                    kData: ReportCommand.SafSummaryReportRequest,
                    kID: 'ReportCommand_SafSummaryReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalFailedReportRequest,
                    kID: 'ReportCommand_LocalFailedReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalDetailReportRequest,
                    kID: 'ReportCommand_LocalDetailReportRequest',
                  },
                  {
                    kData: ReportCommand.HostDetailReportRequest,
                    kID: 'ReportCommand_HostDetailReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalTotalReportRequest,
                    kID: 'ReportCommand_LocalTotalReportRequest',
                  },
                ],
              },
           ];
  }

  static ReportLocalFailedReportRequest formLocalFailedReportRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ReportLocalFailedReportRequest req = ReportLocalFailedReportRequest();
    req.classID = RequestListModelQuery.query('Report_Request_LocalFailedReportRequest-classID',queryList);
    return req;
  }

  static List<Map> localDetailReportData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ReportCommand',
                kID: 'ReportCommand',
                kMenuID: 'ReportCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ReportCommand.HostReportRequest,
                kData: [
                  {
                    kData: ReportCommand.HostReportRequest,
                    kID: 'ReportCommand_HostReportRequest',
                  },
                  {
                    kData: ReportCommand.HistoryReportRequest,
                    kID: 'ReportCommand_HistoryReportRequest',
                  },
                  {
                    kData: ReportCommand.SafSummaryReportRequest,
                    kID: 'ReportCommand_SafSummaryReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalFailedReportRequest,
                    kID: 'ReportCommand_LocalFailedReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalDetailReportRequest,
                    kID: 'ReportCommand_LocalDetailReportRequest',
                  },
                  {
                    kData: ReportCommand.HostDetailReportRequest,
                    kID: 'ReportCommand_HostDetailReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalTotalReportRequest,
                    kID: 'ReportCommand_LocalTotalReportRequest',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'edcType',
                kID: 'Report_Request_LocalDetailReportRequest-edcType',
                kMenuID: 'Report_Request_LocalDetailReportRequest-edcType_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ReportEdcType.NotSet,
                kData: [
                  {
                    kData: ReportEdcType.NotSet,
                    kID: 'Report_Request_LocalDetailReportRequest-edcType_NotSet',
                  },
                  {
                    kData: ReportEdcType.All,
                    kID: 'Report_Request_LocalDetailReportRequest-edcType_All',
                  },
                  {
                    kData: ReportEdcType.Credit,
                    kID: 'Report_Request_LocalDetailReportRequest-edcType_Credit',
                  },
                  {
                    kData: ReportEdcType.Debit,
                    kID: 'Report_Request_LocalDetailReportRequest-edcType_Debit',
                  },
                  {
                    kData: ReportEdcType.Ebt,
                    kID: 'Report_Request_LocalDetailReportRequest-edcType_Ebt',
                  },
                  {
                    kData: ReportEdcType.Gift,
                    kID: 'Report_Request_LocalDetailReportRequest-edcType_Gift',
                  },
                  {
                    kData: ReportEdcType.Loyalty,
                    kID: 'Report_Request_LocalDetailReportRequest-edcType_Loyalty',
                  },
                  {
                    kData: ReportEdcType.Cash,
                    kID: 'Report_Request_LocalDetailReportRequest-edcType_Cash',
                  },
                  {
                    kData: ReportEdcType.Check,
                    kID: 'Report_Request_LocalDetailReportRequest-edcType_Check',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'transactionType',
                kID: 'Report_Request_LocalDetailReportRequest-transactionType',
                kMenuID: 'Report_Request_LocalDetailReportRequest-transactionType_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ReportTransactionType.NotSet,
                kData: [
                  {
                    kData: ReportTransactionType.NotSet,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_NotSet',
                  },
                  {
                    kData: ReportTransactionType.Unknown,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Unknown',
                  },
                  {
                    kData: ReportTransactionType.Sale,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Sale',
                  },
                  {
                    kData: ReportTransactionType.Return,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Return',
                  },
                  {
                    kData: ReportTransactionType.Authorization,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Authorization',
                  },
                  {
                    kData: ReportTransactionType.PostAuthorization,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_PostAuthorization',
                  },
                  {
                    kData: ReportTransactionType.ForceAuthorization,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_ForceAuthorization',
                  },
                  {
                    kData: ReportTransactionType.Adjust,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Adjust',
                  },
                  {
                    kData: ReportTransactionType.Withdrawal,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Withdrawal',
                  },
                  {
                    kData: ReportTransactionType.Activate,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Activate',
                  },
                  {
                    kData: ReportTransactionType.Issue,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Issue',
                  },
                  {
                    kData: ReportTransactionType.Reload,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Reload',
                  },
                  {
                    kData: ReportTransactionType.Cashout,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Cashout',
                  },
                  {
                    kData: ReportTransactionType.Deactivate,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Deactivate',
                  },
                  {
                    kData: ReportTransactionType.Replace,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Replace',
                  },
                  {
                    kData: ReportTransactionType.Merge,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Merge',
                  },
                  {
                    kData: ReportTransactionType.ReportLost,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_ReportLost',
                  },
                  {
                    kData: ReportTransactionType.Void,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Void',
                  },
                  {
                    kData: ReportTransactionType.VoidSale,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_VoidSale',
                  },
                  {
                    kData: ReportTransactionType.VoidReturn,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_VoidReturn',
                  },
                  {
                    kData: ReportTransactionType.VoidAuthorization,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_VoidAuthorization',
                  },
                  {
                    kData: ReportTransactionType.VoidPostAuthorization,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_VoidPostAuthorization',
                  },
                  {
                    kData: ReportTransactionType.VoidForceAuthorization,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_VoidForceAuthorization',
                  },
                  {
                    kData: ReportTransactionType.VoidWithdrawal,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_VoidWithdrawal',
                  },
                  {
                    kData: ReportTransactionType.Inquiry,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Inquiry',
                  },
                  {
                    kData: ReportTransactionType.Verify,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Verify',
                  },
                  {
                    kData: ReportTransactionType.Reactivate,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Reactivate',
                  },
                  {
                    kData: ReportTransactionType.ForcedIssue,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_ForcedIssue',
                  },
                  {
                    kData: ReportTransactionType.ForcedAdd,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_ForcedAdd',
                  },
                  {
                    kData: ReportTransactionType.Unload,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Unload',
                  },
                  {
                    kData: ReportTransactionType.Renew,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Renew',
                  },
                  {
                    kData: ReportTransactionType.GetConvertDetail,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_GetConvertDetail',
                  },
                  {
                    kData: ReportTransactionType.Convert,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Convert',
                  },
                  {
                    kData: ReportTransactionType.Tokenize,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Tokenize',
                  },
                  {
                    kData: ReportTransactionType.IncrementalAuthorization,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_IncrementalAuthorization',
                  },
                  {
                    kData: ReportTransactionType.BalanceWithLock,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_BalanceWithLock',
                  },
                  {
                    kData: ReportTransactionType.RedemptionWithUnlock,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_RedemptionWithUnlock',
                  },
                  {
                    kData: ReportTransactionType.Rewards,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Rewards',
                  },
                  {
                    kData: ReportTransactionType.Reenter,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Reenter',
                  },
                  {
                    kData: ReportTransactionType.TransactionAdjustment,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_TransactionAdjustment',
                  },
                  {
                    kData: ReportTransactionType.Transfer,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Transfer',
                  },
                  {
                    kData: ReportTransactionType.Finalize,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Finalize',
                  },
                  {
                    kData: ReportTransactionType.Deposit,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Deposit',
                  },
                  {
                    kData: ReportTransactionType.AccountPayment,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_AccountPayment',
                  },
                  {
                    kData: ReportTransactionType.Reversal,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionType_Reversal',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'cardType',
                kID: 'Report_Request_LocalDetailReportRequest-cardType',
                kMenuID: 'Report_Request_LocalDetailReportRequest-cardType_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ReportCardType.NotSet,
                kData: [
                  {
                    kData: ReportCardType.NotSet,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_NotSet',
                  },
                  {
                    kData: ReportCardType.Visa,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_Visa',
                  },
                  {
                    kData: ReportCardType.MasterCard,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_MasterCard',
                  },
                  {
                    kData: ReportCardType.Amex,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_Amex',
                  },
                  {
                    kData: ReportCardType.Discover,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_Discover',
                  },
                  {
                    kData: ReportCardType.DinerClub,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_DinerClub',
                  },
                  {
                    kData: ReportCardType.EnRoute,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_EnRoute',
                  },
                  {
                    kData: ReportCardType.Jcb,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_Jcb',
                  },
                  {
                    kData: ReportCardType.RevolutionCard,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_RevolutionCard',
                  },
                  {
                    kData: ReportCardType.VisaFleet,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_VisaFleet',
                  },
                  {
                    kData: ReportCardType.MasterCardFleet,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_MasterCardFleet',
                  },
                  {
                    kData: ReportCardType.FleetOne,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_FleetOne',
                  },
                  {
                    kData: ReportCardType.Fleetwide,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_Fleetwide',
                  },
                  {
                    kData: ReportCardType.Fuelman,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_Fuelman',
                  },
                  {
                    kData: ReportCardType.Gascard,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_Gascard',
                  },
                  {
                    kData: ReportCardType.Voyager,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_Voyager',
                  },
                  {
                    kData: ReportCardType.WrightExpress,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_WrightExpress',
                  },
                  {
                    kData: ReportCardType.Interac,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_Interac',
                  },
                  {
                    kData: ReportCardType.Cup,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_Cup',
                  },
                  {
                    kData: ReportCardType.Maestro,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_Maestro',
                  },
                  {
                    kData: ReportCardType.Sinclair,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_Sinclair',
                  },
                  {
                    kData: ReportCardType.Other,
                    kID: 'Report_Request_LocalDetailReportRequest-cardType_Other',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'recordNumber',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Report_Request_LocalDetailReportRequest-recordNumber',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'originalReferenceNumber',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Report_Request_LocalDetailReportRequest-originalReferenceNumber',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'authorizationCode',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Report_Request_LocalDetailReportRequest-authorizationCode',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ecrReferenceNumber',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Report_Request_LocalDetailReportRequest-ecrReferenceNumber',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'globalUid',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Report_Request_LocalDetailReportRequest-globalUid',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'lastTransaction',
                kID: 'Report_Request_LocalDetailReportRequest-lastTransaction',
                kMenuID: 'Report_Request_LocalDetailReportRequest-lastTransaction_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ReportLastTransaction.NotSet,
                kData: [
                  {
                    kData: ReportLastTransaction.NotSet,
                    kID: 'Report_Request_LocalDetailReportRequest-lastTransaction_NotSet',
                  },
                  {
                    kData: ReportLastTransaction.NotRetrieve,
                    kID: 'Report_Request_LocalDetailReportRequest-lastTransaction_NotRetrieve',
                  },
                  {
                    kData: ReportLastTransaction.Retrieve,
                    kID: 'Report_Request_LocalDetailReportRequest-lastTransaction_Retrieve',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kGroupArrowOpen: true,
                kName: 'multiMerchant',
                kValue: '',
                kID: 'Report_Request_LocalDetailReportRequest-multiMerchant',
                kType: DataItemType.Group,
                kShow: true,
              },
              {
                kSuperGroupName: 'multiMerchant',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'multiMerchantId',
                kValue: '',
                kTextAttribute: 1,
                kID: 'Report_Request_LocalDetailReportRequest-multiMerchant_multiMerchantId',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: 'multiMerchant',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 2,
                kName: 'multiMerchantName',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Report_Request_LocalDetailReportRequest-multiMerchant_multiMerchantName',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'transactionResultType',
                kID: 'Report_Request_LocalDetailReportRequest-transactionResultType',
                kMenuID: 'Report_Request_LocalDetailReportRequest-transactionResultType_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ReportTransactionResultType.NotSet,
                kData: [
                  {
                    kData: ReportTransactionResultType.NotSet,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionResultType_NotSet',
                  },
                  {
                    kData: ReportTransactionResultType.SuccessfulOnly,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionResultType_SuccessfulOnly',
                  },
                  {
                    kData: ReportTransactionResultType.FailedOnly,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionResultType_FailedOnly',
                  },
                  {
                    kData: ReportTransactionResultType.All,
                    kID: 'Report_Request_LocalDetailReportRequest-transactionResultType_All',
                  },
                ],
              },
           ];
  }

  static ReportLocalDetailReportRequest formLocalDetailReportRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ReportLocalDetailReportRequest req = ReportLocalDetailReportRequest();
    req.edcType = RequestListModelQuery.query('Report_Request_LocalDetailReportRequest-edcType',queryList);
    req.transactionType = RequestListModelQuery.query('Report_Request_LocalDetailReportRequest-transactionType',queryList);
    req.cardType = RequestListModelQuery.query('Report_Request_LocalDetailReportRequest-cardType',queryList);
    req.recordNumber = RequestListModelQuery.query('Report_Request_LocalDetailReportRequest-recordNumber',queryList);
    req.originalReferenceNumber = RequestListModelQuery.query('Report_Request_LocalDetailReportRequest-originalReferenceNumber',queryList);
    req.authorizationCode = RequestListModelQuery.query('Report_Request_LocalDetailReportRequest-authorizationCode',queryList);
    req.ecrReferenceNumber = RequestListModelQuery.query('Report_Request_LocalDetailReportRequest-ecrReferenceNumber',queryList);
    req.globalUid = RequestListModelQuery.query('Report_Request_LocalDetailReportRequest-globalUid',queryList);
    req.lastTransaction = RequestListModelQuery.query('Report_Request_LocalDetailReportRequest-lastTransaction',queryList);
    req.multiMerchant = ReportMultiMerchant();
    req.multiMerchant!.multiMerchantId = RequestListModelQuery.query('Report_Request_LocalDetailReportRequest-multiMerchant_multiMerchantId',queryList);
    req.multiMerchant!.multiMerchantName = RequestListModelQuery.query('Report_Request_LocalDetailReportRequest-multiMerchant_multiMerchantName',queryList);
    req.transactionResultType = RequestListModelQuery.query('Report_Request_LocalDetailReportRequest-transactionResultType',queryList);
    return req;
  }

  static List<Map> hostDetailReportData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ReportCommand',
                kID: 'ReportCommand',
                kMenuID: 'ReportCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ReportCommand.HostReportRequest,
                kData: [
                  {
                    kData: ReportCommand.HostReportRequest,
                    kID: 'ReportCommand_HostReportRequest',
                  },
                  {
                    kData: ReportCommand.HistoryReportRequest,
                    kID: 'ReportCommand_HistoryReportRequest',
                  },
                  {
                    kData: ReportCommand.SafSummaryReportRequest,
                    kID: 'ReportCommand_SafSummaryReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalFailedReportRequest,
                    kID: 'ReportCommand_LocalFailedReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalDetailReportRequest,
                    kID: 'ReportCommand_LocalDetailReportRequest',
                  },
                  {
                    kData: ReportCommand.HostDetailReportRequest,
                    kID: 'ReportCommand_HostDetailReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalTotalReportRequest,
                    kID: 'ReportCommand_LocalTotalReportRequest',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'edcType',
                kID: 'Report_Request_HostDetailReportRequest-edcType',
                kMenuID: 'Report_Request_HostDetailReportRequest-edcType_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ReportEdcType.NotSet,
                kData: [
                  {
                    kData: ReportEdcType.NotSet,
                    kID: 'Report_Request_HostDetailReportRequest-edcType_NotSet',
                  },
                  {
                    kData: ReportEdcType.All,
                    kID: 'Report_Request_HostDetailReportRequest-edcType_All',
                  },
                  {
                    kData: ReportEdcType.Credit,
                    kID: 'Report_Request_HostDetailReportRequest-edcType_Credit',
                  },
                  {
                    kData: ReportEdcType.Debit,
                    kID: 'Report_Request_HostDetailReportRequest-edcType_Debit',
                  },
                  {
                    kData: ReportEdcType.Ebt,
                    kID: 'Report_Request_HostDetailReportRequest-edcType_Ebt',
                  },
                  {
                    kData: ReportEdcType.Gift,
                    kID: 'Report_Request_HostDetailReportRequest-edcType_Gift',
                  },
                  {
                    kData: ReportEdcType.Loyalty,
                    kID: 'Report_Request_HostDetailReportRequest-edcType_Loyalty',
                  },
                  {
                    kData: ReportEdcType.Cash,
                    kID: 'Report_Request_HostDetailReportRequest-edcType_Cash',
                  },
                  {
                    kData: ReportEdcType.Check,
                    kID: 'Report_Request_HostDetailReportRequest-edcType_Check',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'transactionType',
                kID: 'Report_Request_HostDetailReportRequest-transactionType',
                kMenuID: 'Report_Request_HostDetailReportRequest-transactionType_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ReportTransactionType.NotSet,
                kData: [
                  {
                    kData: ReportTransactionType.NotSet,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_NotSet',
                  },
                  {
                    kData: ReportTransactionType.Unknown,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Unknown',
                  },
                  {
                    kData: ReportTransactionType.Sale,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Sale',
                  },
                  {
                    kData: ReportTransactionType.Return,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Return',
                  },
                  {
                    kData: ReportTransactionType.Authorization,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Authorization',
                  },
                  {
                    kData: ReportTransactionType.PostAuthorization,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_PostAuthorization',
                  },
                  {
                    kData: ReportTransactionType.ForceAuthorization,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_ForceAuthorization',
                  },
                  {
                    kData: ReportTransactionType.Adjust,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Adjust',
                  },
                  {
                    kData: ReportTransactionType.Withdrawal,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Withdrawal',
                  },
                  {
                    kData: ReportTransactionType.Activate,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Activate',
                  },
                  {
                    kData: ReportTransactionType.Issue,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Issue',
                  },
                  {
                    kData: ReportTransactionType.Reload,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Reload',
                  },
                  {
                    kData: ReportTransactionType.Cashout,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Cashout',
                  },
                  {
                    kData: ReportTransactionType.Deactivate,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Deactivate',
                  },
                  {
                    kData: ReportTransactionType.Replace,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Replace',
                  },
                  {
                    kData: ReportTransactionType.Merge,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Merge',
                  },
                  {
                    kData: ReportTransactionType.ReportLost,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_ReportLost',
                  },
                  {
                    kData: ReportTransactionType.Void,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Void',
                  },
                  {
                    kData: ReportTransactionType.VoidSale,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_VoidSale',
                  },
                  {
                    kData: ReportTransactionType.VoidReturn,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_VoidReturn',
                  },
                  {
                    kData: ReportTransactionType.VoidAuthorization,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_VoidAuthorization',
                  },
                  {
                    kData: ReportTransactionType.VoidPostAuthorization,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_VoidPostAuthorization',
                  },
                  {
                    kData: ReportTransactionType.VoidForceAuthorization,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_VoidForceAuthorization',
                  },
                  {
                    kData: ReportTransactionType.VoidWithdrawal,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_VoidWithdrawal',
                  },
                  {
                    kData: ReportTransactionType.Inquiry,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Inquiry',
                  },
                  {
                    kData: ReportTransactionType.Verify,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Verify',
                  },
                  {
                    kData: ReportTransactionType.Reactivate,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Reactivate',
                  },
                  {
                    kData: ReportTransactionType.ForcedIssue,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_ForcedIssue',
                  },
                  {
                    kData: ReportTransactionType.ForcedAdd,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_ForcedAdd',
                  },
                  {
                    kData: ReportTransactionType.Unload,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Unload',
                  },
                  {
                    kData: ReportTransactionType.Renew,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Renew',
                  },
                  {
                    kData: ReportTransactionType.GetConvertDetail,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_GetConvertDetail',
                  },
                  {
                    kData: ReportTransactionType.Convert,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Convert',
                  },
                  {
                    kData: ReportTransactionType.Tokenize,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Tokenize',
                  },
                  {
                    kData: ReportTransactionType.IncrementalAuthorization,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_IncrementalAuthorization',
                  },
                  {
                    kData: ReportTransactionType.BalanceWithLock,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_BalanceWithLock',
                  },
                  {
                    kData: ReportTransactionType.RedemptionWithUnlock,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_RedemptionWithUnlock',
                  },
                  {
                    kData: ReportTransactionType.Rewards,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Rewards',
                  },
                  {
                    kData: ReportTransactionType.Reenter,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Reenter',
                  },
                  {
                    kData: ReportTransactionType.TransactionAdjustment,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_TransactionAdjustment',
                  },
                  {
                    kData: ReportTransactionType.Transfer,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Transfer',
                  },
                  {
                    kData: ReportTransactionType.Finalize,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Finalize',
                  },
                  {
                    kData: ReportTransactionType.Deposit,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Deposit',
                  },
                  {
                    kData: ReportTransactionType.AccountPayment,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_AccountPayment',
                  },
                  {
                    kData: ReportTransactionType.Reversal,
                    kID: 'Report_Request_HostDetailReportRequest-transactionType_Reversal',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'cardType',
                kID: 'Report_Request_HostDetailReportRequest-cardType',
                kMenuID: 'Report_Request_HostDetailReportRequest-cardType_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ReportCardType.NotSet,
                kData: [
                  {
                    kData: ReportCardType.NotSet,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_NotSet',
                  },
                  {
                    kData: ReportCardType.Visa,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_Visa',
                  },
                  {
                    kData: ReportCardType.MasterCard,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_MasterCard',
                  },
                  {
                    kData: ReportCardType.Amex,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_Amex',
                  },
                  {
                    kData: ReportCardType.Discover,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_Discover',
                  },
                  {
                    kData: ReportCardType.DinerClub,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_DinerClub',
                  },
                  {
                    kData: ReportCardType.EnRoute,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_EnRoute',
                  },
                  {
                    kData: ReportCardType.Jcb,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_Jcb',
                  },
                  {
                    kData: ReportCardType.RevolutionCard,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_RevolutionCard',
                  },
                  {
                    kData: ReportCardType.VisaFleet,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_VisaFleet',
                  },
                  {
                    kData: ReportCardType.MasterCardFleet,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_MasterCardFleet',
                  },
                  {
                    kData: ReportCardType.FleetOne,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_FleetOne',
                  },
                  {
                    kData: ReportCardType.Fleetwide,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_Fleetwide',
                  },
                  {
                    kData: ReportCardType.Fuelman,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_Fuelman',
                  },
                  {
                    kData: ReportCardType.Gascard,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_Gascard',
                  },
                  {
                    kData: ReportCardType.Voyager,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_Voyager',
                  },
                  {
                    kData: ReportCardType.WrightExpress,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_WrightExpress',
                  },
                  {
                    kData: ReportCardType.Interac,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_Interac',
                  },
                  {
                    kData: ReportCardType.Cup,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_Cup',
                  },
                  {
                    kData: ReportCardType.Maestro,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_Maestro',
                  },
                  {
                    kData: ReportCardType.Sinclair,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_Sinclair',
                  },
                  {
                    kData: ReportCardType.Other,
                    kID: 'Report_Request_HostDetailReportRequest-cardType_Other',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'authorizationCode',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Report_Request_HostDetailReportRequest-authorizationCode',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ecrTransactionId',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Report_Request_HostDetailReportRequest-ecrTransactionId',
                kType: DataItemType.CellInput,
                kShow: true,
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'hostReferenceNumber',
                kValue: '',
                kTextAttribute: 2,
                kID: 'Report_Request_HostDetailReportRequest-hostReferenceNumber',
                kType: DataItemType.CellInput,
                kShow: true,
              },
           ];
  }

  static ReportHostDetailReportRequest formHostDetailReportRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ReportHostDetailReportRequest req = ReportHostDetailReportRequest();
    req.edcType = RequestListModelQuery.query('Report_Request_HostDetailReportRequest-edcType',queryList);
    req.transactionType = RequestListModelQuery.query('Report_Request_HostDetailReportRequest-transactionType',queryList);
    req.cardType = RequestListModelQuery.query('Report_Request_HostDetailReportRequest-cardType',queryList);
    req.authorizationCode = RequestListModelQuery.query('Report_Request_HostDetailReportRequest-authorizationCode',queryList);
    req.ecrTransactionId = RequestListModelQuery.query('Report_Request_HostDetailReportRequest-ecrTransactionId',queryList);
    req.hostReferenceNumber = RequestListModelQuery.query('Report_Request_HostDetailReportRequest-hostReferenceNumber',queryList);
    return req;
  }

  static List<Map> localTotalReportData() {
      return [
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'ReportCommand',
                kID: 'ReportCommand',
                kMenuID: 'ReportCommand_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ReportCommand.HostReportRequest,
                kData: [
                  {
                    kData: ReportCommand.HostReportRequest,
                    kID: 'ReportCommand_HostReportRequest',
                  },
                  {
                    kData: ReportCommand.HistoryReportRequest,
                    kID: 'ReportCommand_HistoryReportRequest',
                  },
                  {
                    kData: ReportCommand.SafSummaryReportRequest,
                    kID: 'ReportCommand_SafSummaryReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalFailedReportRequest,
                    kID: 'ReportCommand_LocalFailedReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalDetailReportRequest,
                    kID: 'ReportCommand_LocalDetailReportRequest',
                  },
                  {
                    kData: ReportCommand.HostDetailReportRequest,
                    kID: 'ReportCommand_HostDetailReportRequest',
                  },
                  {
                    kData: ReportCommand.LocalTotalReportRequest,
                    kID: 'ReportCommand_LocalTotalReportRequest',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'edcType',
                kID: 'Report_Request_LocalTotalReportRequest-edcType',
                kMenuID: 'Report_Request_LocalTotalReportRequest-edcType_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ReportEdcType.NotSet,
                kData: [
                  {
                    kData: ReportEdcType.NotSet,
                    kID: 'Report_Request_LocalTotalReportRequest-edcType_NotSet',
                  },
                  {
                    kData: ReportEdcType.All,
                    kID: 'Report_Request_LocalTotalReportRequest-edcType_All',
                  },
                  {
                    kData: ReportEdcType.Credit,
                    kID: 'Report_Request_LocalTotalReportRequest-edcType_Credit',
                  },
                  {
                    kData: ReportEdcType.Debit,
                    kID: 'Report_Request_LocalTotalReportRequest-edcType_Debit',
                  },
                  {
                    kData: ReportEdcType.Ebt,
                    kID: 'Report_Request_LocalTotalReportRequest-edcType_Ebt',
                  },
                  {
                    kData: ReportEdcType.Gift,
                    kID: 'Report_Request_LocalTotalReportRequest-edcType_Gift',
                  },
                  {
                    kData: ReportEdcType.Loyalty,
                    kID: 'Report_Request_LocalTotalReportRequest-edcType_Loyalty',
                  },
                  {
                    kData: ReportEdcType.Cash,
                    kID: 'Report_Request_LocalTotalReportRequest-edcType_Cash',
                  },
                  {
                    kData: ReportEdcType.Check,
                    kID: 'Report_Request_LocalTotalReportRequest-edcType_Check',
                  },
                ],
              },
              {
                kSuperGroupName: '',
                kTextShowType: 1,
                kEnable: true,
                kLevel: 1,
                kName: 'cardType',
                kID: 'Report_Request_LocalTotalReportRequest-cardType',
                kMenuID: 'Report_Request_LocalTotalReportRequest-cardType_menubtn',
                kType: DataItemType.Menu,
                kShow: true,
                kValue: ReportCardType.NotSet,
                kData: [
                  {
                    kData: ReportCardType.NotSet,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_NotSet',
                  },
                  {
                    kData: ReportCardType.Visa,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_Visa',
                  },
                  {
                    kData: ReportCardType.MasterCard,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_MasterCard',
                  },
                  {
                    kData: ReportCardType.Amex,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_Amex',
                  },
                  {
                    kData: ReportCardType.Discover,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_Discover',
                  },
                  {
                    kData: ReportCardType.DinerClub,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_DinerClub',
                  },
                  {
                    kData: ReportCardType.EnRoute,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_EnRoute',
                  },
                  {
                    kData: ReportCardType.Jcb,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_Jcb',
                  },
                  {
                    kData: ReportCardType.RevolutionCard,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_RevolutionCard',
                  },
                  {
                    kData: ReportCardType.VisaFleet,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_VisaFleet',
                  },
                  {
                    kData: ReportCardType.MasterCardFleet,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_MasterCardFleet',
                  },
                  {
                    kData: ReportCardType.FleetOne,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_FleetOne',
                  },
                  {
                    kData: ReportCardType.Fleetwide,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_Fleetwide',
                  },
                  {
                    kData: ReportCardType.Fuelman,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_Fuelman',
                  },
                  {
                    kData: ReportCardType.Gascard,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_Gascard',
                  },
                  {
                    kData: ReportCardType.Voyager,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_Voyager',
                  },
                  {
                    kData: ReportCardType.WrightExpress,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_WrightExpress',
                  },
                  {
                    kData: ReportCardType.Interac,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_Interac',
                  },
                  {
                    kData: ReportCardType.Cup,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_Cup',
                  },
                  {
                    kData: ReportCardType.Maestro,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_Maestro',
                  },
                  {
                    kData: ReportCardType.Sinclair,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_Sinclair',
                  },
                  {
                    kData: ReportCardType.Other,
                    kID: 'Report_Request_LocalTotalReportRequest-cardType_Other',
                  },
                ],
              },
           ];
  }

  static ReportLocalTotalReportRequest formLocalTotalReportRequest(List<Map> list) {
    List<Map> queryList = [];
    queryList.addAll(list);
    ReportLocalTotalReportRequest req = ReportLocalTotalReportRequest();
    req.edcType = RequestListModelQuery.query('Report_Request_LocalTotalReportRequest-edcType',queryList);
    req.cardType = RequestListModelQuery.query('Report_Request_LocalTotalReportRequest-cardType',queryList);
    return req;
  }

  static List<Map>? queryDataByString(String string) {
    List tempList = string.split('.');
    if (tempList.length < 2) { return null; }
    String tempStr = tempList[1];
    List<Map> list;
    switch (tempStr) {
      case 'HostReportRequest':
        list = ReportReqData.hostReportData();
        break;
      case 'HistoryReportRequest':
        list = ReportReqData.historyReportData();
        break;
      case 'SafSummaryReportRequest':
        list = ReportReqData.safSummaryReportData();
        break;
      case 'LocalFailedReportRequest':
        list = ReportReqData.localFailedReportData();
        break;
      case 'LocalDetailReportRequest':
        list = ReportReqData.localDetailReportData();
        break;
      case 'HostDetailReportRequest':
        list = ReportReqData.hostDetailReportData();
        break;
      case 'LocalTotalReportRequest':
        list = ReportReqData.localTotalReportData();
        break;
      default:
        list = [];
        break;
    }
    return list;
  }

}
